home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 03 View.mdf < prev    next >
Text File  |  1997-01-24  |  11KB  |  428 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition W3DView = 
  5.   {
  6.   kxPublicName = "3D View"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "05/24/96  12:26:14 PM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "VIEW02" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "VIEW01" 0xFF00FF
  12.   kxLargeIcon24 = kxBmResType "ModIcons.dll" "VIEW02H"
  13.   kxSmallIcon24 = kxBmResType "ModIcons.dll" "VIEW01H"
  14.   kxSmalltalkLibraries = "cdk"
  15.   kxSmalltalkProxyClass = W3DViewBundle
  16.   kxShortDescription = "VRML (VRBL) view definition module."
  17. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/3D/W3DView/help.html"
  18.  
  19.     // The Java class which implements the plug-in...
  20.   kxPlugInClass = W3DViewPlugIn
  21.  
  22.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  23.   kxPropertyEditors =  W3DWindowEditor W3DNavModeEditor W3DBackgroundEditor OpusLabelCommentEditor ModuleStateEditor SizePositionEditor SpecialEffectsEditor PortEditor
  24.  
  25.     // The Smalltalk class which will draw the layout view representation for this plug-in...
  26.   kxLayoutViewProxyClass = W3DViewAuthorRep
  27.  
  28.  
  29.   kxInputPorts =
  30.     {
  31.     kxInclude "Basic.ipt"
  32.     kxInclude "VisualComplete.ipt"
  33.  
  34.     kxPort ResetView =
  35.       {
  36.       kxJavaMethod = wiResetView
  37.       kxJavaSignature = "()V"
  38.       kxPublicNames = "Reset Viewpoint" "Not specified"
  39.       }
  40.  
  41.     kxPort GetViewpoint = 
  42.       {
  43.       kxJavaMethod = wiGetViewpoint
  44.       kxJavaSignature = "()LHwVector;"
  45.       kxPublicNames = "Get Viewpoint" "Point3 array"
  46.       }
  47.  
  48.     kxPort GetViewpointFromPt = 
  49.       {
  50.       kxJavaMethod = wiGetViewpointFromPt
  51.       kxJavaSignature = "()LPoint3"
  52.       kxPublicNames = "Get Viewpoint Position" "Point3"
  53.       }
  54.  
  55.     kxPort GetViewpointToPt = 
  56.       {
  57.       kxJavaMethod = wiGetViewpointToPt
  58.       kxJavaSignature = "()LPoint3"
  59.       kxPublicNames = "Get Viewpoint Target" "Point3"
  60.       }
  61.  
  62.     kxPort GetViewpointUpVec = 
  63.       {
  64.       kxJavaMethod = wiGetViewpointUpVec
  65.       kxJavaSignature = "()LPoint3"
  66.       kxPublicNames = "Get Viewpoint Up Vector" "Point3"
  67.       }
  68.  
  69.     kxPort RollLeftRight =
  70.       {
  71.       kxJavaMethod = wiRollLeftRight
  72.       kxJavaSignature = "(DI)Z"
  73.       kxPublicNames = "Roll Left/Right" "amount" "frames" "Not Specified"
  74.       }
  75.  
  76.     kxPort PitchUpDown =
  77.       {
  78.       kxJavaMethod = wiPitchUpDown
  79.       kxJavaSignature = "(DI)Z"
  80.       kxPublicNames = "Pitch Up/Down" "amount" "frames" "Not Specified"
  81.       }
  82.  
  83.     kxPort YawLeftRight =
  84.       {
  85.       kxJavaMethod = wiYawLeftRight
  86.       kxJavaSignature = "(DI)Z"
  87.       kxPublicNames = "Yaw Left/Right" "amount" "frames" "Not Specified"
  88.       }
  89.  
  90.     kxPort MoveUpDown =
  91.       {
  92.       kxJavaMethod = wiMoveUpDown
  93.       kxJavaSignature = "(DI)Z"
  94.       kxPublicNames = "Move Up/Down" "amount" "frames" "Not Specified"
  95.       }
  96.  
  97.     kxPort MoveLeftRight =
  98.       {
  99.       kxJavaMethod = wiMoveLeftRight
  100.       kxJavaSignature = "(DI)Z"
  101.       kxPublicNames = "Move Left/Right" "amount" "frames" "Not Specified"
  102.       }
  103.  
  104.     kxPort MoveForwardBackward =
  105.       {
  106.       kxJavaMethod = wiMoveForwardBackward
  107.       kxJavaSignature = "(DI)Z"
  108.       kxPublicNames = "Move Forward/Backward" "amount" "frames" "Not Specified"
  109.       }
  110.  
  111.     kxPort SpinScene =
  112.       {
  113.       kxJavaMethod = wiSpinScene
  114.       kxJavaSignature = "(LPoint3;DDDI)Z"
  115.       kxPublicNames = "Rotate Viewpoint" "position" "pitch" "yaw" "roll" "frames" "Not Specified"
  116.       }
  117.  
  118.     kxPort GetDZConstrain =
  119.       {
  120.       kxJavaMethod = wiGetDZConstrain
  121.       kxJavaSignature = "()Z"
  122.       kxPublicNames = "Get DZ Constrain" "Not Specified"
  123.       }
  124.  
  125.     kxPort GetDYConstrain =
  126.       {
  127.       kxJavaMethod = wiGetDYConstrain
  128.       kxJavaSignature = "()Z"
  129.       kxPublicNames = "Get DY Constrain" "Not Specified"
  130.       }
  131.  
  132.     kxPort GetDXConstrain =
  133.       {
  134.       kxJavaMethod = wiGetDXConstrain
  135.       kxJavaSignature = "()Z"
  136.       kxPublicNames = "Get DX Constrain" "Not Specified"
  137.       }
  138.  
  139.     kxPort GetZConstrain =
  140.       {
  141.       kxJavaMethod = wiGetZConstrain
  142.       kxJavaSignature = "()Z"
  143.       kxPublicNames = "Get Z Constrain" "Not Specified"
  144.       }
  145.  
  146.     kxPort GetYConstrain =
  147.       {
  148.       kxJavaMethod = wiGetYConstrain
  149.       kxJavaSignature = "()Z"
  150.       kxPublicNames = "Get Y Constrain" "Not Specified"
  151.       }
  152.  
  153.     kxPort GetXConstrain =
  154.       {
  155.       kxJavaMethod = wiGetXConstrain
  156.       kxJavaSignature = "()Z"
  157.       kxPublicNames = "Get X Constrain" "Not Specified"
  158.       }
  159.  
  160.     kxPort PickAt =
  161.       {
  162.       kxJavaMethod = wiPickAt
  163.       kxJavaSignature = "(LHwPoint;)LHwVector"
  164.       kxPublicNames = "Pick At" "position" "Not Specified"
  165.       }
  166.  
  167.     kxPort SetViewpoint =
  168.       {
  169.       kxJavaMethod = wiSetViewpoint
  170.       kxJavaSignature = "(LPoint3;LPoint3;LPoint3;I)Z"
  171.       kxPublicNames = "Set Viewpoint" "position" "target" "up vector" "frames" "Not Specified"
  172.       }
  173.  
  174.     kxPort SetViewtoCamera =
  175.       {
  176.       kxJavaMethod = wiSetViewtoCamera
  177.       kxJavaSignature = "(LString;I)Z"
  178.       kxPublicNames = "Set View to Camera" "camera name" "frames" "Not Specified"
  179.       }
  180.  
  181.      kxPort Initialize =
  182.       {
  183.       kxJavaMethod = wiInitialize
  184.       kxJavaSignature = "()Z"
  185.       kxPublicNames = "Initialize" "Not Specified"
  186.       }
  187.  
  188.     kxPort Terminate =
  189.       {
  190.       kxJavaMethod = wiTerminate
  191.       kxJavaSignature = "()Z"
  192.       kxPublicNames = "Terminate" "Not Specified"
  193.       }
  194.  
  195.     kxPort SetWorld =
  196.       {
  197.       kxJavaMethod = wiSetWorld
  198.       kxJavaSignature = "(LString;)Z"
  199.       kxPublicNames = "Set World" "world name" "Not Specified"
  200.       }
  201.   
  202.     kxPort GetNavigationMode =
  203.       {
  204.       kxJavaMethod = wiGetNavigationMode
  205.       kxJavaSignature = "()LString;"
  206.       kxPublicNames = "Get Navigation Mode" "String navigation mode"
  207.       }
  208.  
  209.     kxPort SetControlMode =
  210.       {
  211.       kxJavaMethod = wiSetControlMode
  212.       kxJavaSignature = "()Z"
  213.       kxPublicNames = "Control" "Not Specified"
  214.       }
  215.  
  216.     kxPort SetOrbitMode =
  217.       {
  218.       kxJavaMethod = wiSetOrbitMode
  219.       kxJavaSignature = "()Z"
  220.       kxPublicNames = "Orbit" "Not Specified"
  221.       }
  222.  
  223.     kxPort SetFlyMode =
  224.       {
  225.       kxJavaMethod = wiSetFlyMode
  226.       kxJavaSignature = "()Z"
  227.       kxPublicNames = "Dolly and Pan" "Not Specified"
  228.       }
  229.  
  230.     kxPort SetPitchAndRollMode =
  231.       {
  232.       kxJavaMethod = wiSetPitchAndRollMode
  233.       kxJavaSignature = "()Z"
  234.       kxPublicNames = "Pitch and Roll" "Not Specified"
  235.       }
  236.  
  237.     kxPort SetTruckAndPedestalMode =
  238.       {
  239.       kxJavaMethod = wiSetTruckAndPedestalMode
  240.       kxJavaSignature = "()Z"
  241.       kxPublicNames = "Truck and Pedestal" "Not Specified"
  242.       }
  243.  
  244.     kxPort SetFlyOrbitSpeed =
  245.       {
  246.       kxJavaMethod = wiSetFlyOrbitSpeed
  247.       kxJavaSignature = "(DD)Z"
  248.       kxPublicNames = "Set Navigation Speed" "translation speed" "rotation speed" "Not Specified"
  249.       }
  250.  
  251.     kxPort GetFlyOrbitSpeed =
  252.       {
  253.       kxJavaMethod = wiGetFlyOrbitSpeed
  254.       kxJavaSignature = "()LHwVector;"
  255.       kxPublicNames = "Get Navigation Speed" "translation speed, rotation speed"
  256.       }
  257.  
  258.      kxPort SetFlyConstraints =
  259.       {
  260.       kxJavaMethod = wiSetFlyConstraints
  261.       kxJavaSignature = "(ZZZZZZ)Z"
  262.       kxPublicNames = "Set Fly Constraints" "constrain X" "constrain Y" "constrain Z" "constrain DX" "constrain DY" "constrain DZ" "Not Specified"
  263.       }
  264.  
  265.     kxPort SetOrbitConstraints =
  266.       {
  267.       kxJavaMethod = wiSetOrbitConstraints
  268.       kxJavaSignature = "(ZZ)Z"
  269.       kxPublicNames = "Set Orbit Constraints" "constrain DX" "constrain DY" "Not Specified"
  270.       }
  271.  
  272.     kxPort SetTrackMode =
  273.       {
  274.       kxJavaMethod = wiSetTrackMode
  275.       kxJavaSignature = "(LString;)Z"
  276.       kxPublicNames = "Track" "camera name" "Not Specified"
  277.       }
  278.  
  279.     kxPort LookAtScene =
  280.       {
  281.       kxJavaMethod = wiLookAtScene
  282.       kxJavaSignature = "(I)Z"
  283.       kxPublicNames = "Look At Scene" "frames" "Not Specified"
  284.       }
  285.  
  286.     kxPort LookAtObject =
  287.       {
  288.       kxJavaMethod = wiLookAtObject
  289.       kxJavaSignature = "(LString;I)Z"
  290.       kxPublicNames = "Look At Object" "object name" "frames" "Not Specified"
  291.       }
  292.  
  293.     kxPort SetPerspectiveProjection =
  294.       {
  295.       kxJavaMethod = wiSetPerspectiveProjection
  296.       kxJavaSignature = "(DDDD)Z"
  297.       kxPublicNames = "Set Perspective Projection" "fov" "aspect" "hither" "yon" "Not Specified"
  298.       }
  299.  
  300.     kxPort SetOrthographicProjection =
  301.       {
  302.       kxJavaMethod = wiSetOrthographicProjection
  303.       kxJavaSignature = "(LPoint3;LPoint3;)Z"
  304.       kxPublicNames = "Set Orthographic Projection" "min" "max" "Not Specified"
  305.       }
  306.    }
  307.  
  308.  
  309.   kxInputPortsMenu =
  310.     {
  311.     Reset
  312.     //Initialize
  313.     //Terminate
  314.     On
  315.     Off
  316.     Toggle
  317.       kxSeparator
  318.     SetWorld
  319.     PickAt
  320.     kxMenu "More" =
  321.       {
  322.       kxInclude "Basic.imn"
  323.       kxInclude "VisualComplete.imn"
  324.       kxMenu "View" =
  325.         {
  326.         ResetView
  327.         SetViewtoCamera
  328.         SetViewpoint
  329.         LookAtObject
  330.         LookAtScene
  331.         SpinScene
  332.         kxSeparator
  333.         GetViewpoint
  334.         GetViewpointFromPt
  335.         GetViewpointToPt
  336.         GetViewpointUpVec
  337.         kxSeparator
  338.         SetPerspectiveProjection
  339.         kxSeparator
  340.         SetWorld
  341.         PickAt
  342.         }
  343.       kxMenu "Navigation" =
  344.         {
  345.         MoveForwardBackward
  346.         MoveLeftRight
  347.         MoveUpDown
  348.         YawLeftRight
  349.         PitchUpDown
  350.         RollLeftRight
  351.         kxSeparator
  352.         SetFlyOrbitSpeed
  353.         SetFlyConstraints 
  354.         SetOrbitConstraints
  355.         kxSeparator
  356.         GetFlyOrbitSpeed
  357.         GetXConstrain
  358.         GetYConstrain
  359.         GetZConstrain
  360.         GetDXConstrain
  361.         GetDYConstrain
  362.         GetDZConstrain
  363.         }
  364.       kxMenu "Mode" =
  365.         {
  366.         GetNavigationMode
  367.         kxSeparator
  368.         kxMenu "Fly" =
  369.           {
  370.           SetFlyMode
  371.           SetTruckAndPedestalMode
  372.           SetPitchAndRollMode
  373.           }
  374.         SetOrbitMode
  375.         SetControlMode
  376.         SetTrackMode
  377.         }
  378.       }
  379.     }
  380.  
  381.  
  382.   kxOutputPorts =
  383.     {
  384.     kxInclude "VisualComplete.opt"
  385.  
  386.     kxPort PickedObject =
  387.       {
  388.       kxJavaSignature = "(LHwObject;LHwObject;)V"
  389.       kxPublicNames = "Object Picked" "root object name" "leaf object name" "Not Specified"
  390.       }
  391.  
  392.     kxPort MissedObject =
  393.       {
  394.       kxJavaSignature = "()V"
  395.       kxPublicNames = "Object Missed" "Not Specified"
  396.       }
  397.  
  398.     kxPort MouseLButtonDown =
  399.       {
  400.       kxJavaSignature = "(LHwObject;)V"
  401.       kxPublicNames = "Button Down at Point" "position" "Not Specified"
  402.       }
  403.  
  404.     kxPort MouseLButtonUp =
  405.       {
  406.       kxJavaSignature = "(LHwObject;)V"
  407.       kxPublicNames = "Button Up at Point" "position" "Not Specified"
  408.       }
  409.  
  410.     }
  411.  
  412.  
  413.   kxOutputPortsMenu =
  414.     {
  415.     ButtonUp
  416.     MouseLButtonDown
  417.     ButtonDown
  418.     MouseLButtonUp
  419. //    MouseMove
  420.     PickedObject
  421.     MissedObject
  422.     kxMenu "More" =
  423.       {
  424.       kxInclude "VisualComplete.omn"
  425.       }
  426.     }
  427.   }
  428.